package com.dingyx.ps.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("平台上传开票文件")
public class UploadInvoicingPO implements Serializable {

    @NotNull(message = "发票ID不能为空")
    @ApiModelProperty("申请记录ID")
    private Integer recordId;

    @NotBlank(message = "发票图片地址不能为空")
    @ApiModelProperty("发票文件地址")
    private String invoiceUrl;

    @NotBlank(message = "发票号码不能为空")
    @ApiModelProperty("发票号码")
    private String invoiceNo;

}
